<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title><%@include file='common.jsp'%>
</head>
<body>
	<table width="960px" align="center">
		<tr valign='top'>
			
			<td><%@include file='howto.html'%></td>
			
		</tr>
		<tr>
			<td>
				<div class="headerDiv">Welcome to OCMS </div>
				<form class="cmxform" action="userdetails.jsp">
					<fieldset>
						<legend>Welcome to OCMS login form</legend>

						<!--  Let us show errors here -->
						<div class="errorMessage" align="center">
							<%
								if (request.getAttribute("error") != null) {
									out.print(request.getAttribute("error"));
								}
							%>
						</div>
						<p>
							<label for="email">Username(Email)</label> <input id="email"
								name="email"
								value=<%=request.getParameter("email") == null ? "''" : "'"
					+ request.getParameter("email") + "'"%> />
						</p>
						<p>
							<label for="My view about service">My view about service</label><br> <textarea id= "My view about service" name="My view about service" rows=5 cols=75></textarea>
						</p>
						<p>
							<label for="Who/What inspired you to move towards service?">Who/What inspired you to move towards service?</label><br> <textarea  name="Who/What inspired you to move towards service?" rows=5 cols=75></textarea>
						</p>
						<p>
							<label for="Why you choose OCMS is correct in achieving your goals?">Why you choose OCMS is correct in achieving your goals?</label><br> <textarea  name="Why you choose OCMS is correct in achieving your goals?" rows=5 cols=75></textarea>
						</p>
						<p>
							<label for="areas">Areas where you can involve yourself as a volunteer</label><br> 
							<input  name="areas" type=checkbox value=Education>Education<br>
							<input  name="areas" type=checkbox value=Health>Health<br>
							<input  name="areas" type=checkbox value=RTI>RTI<br>
							<input  name="areas" type=checkbox value=Environment>Environment<br>
						</p>
						<p>
							<input class="submit" type="submit" value="click here to see your profile" name="submit" />
							
						</p>
						
						
					</fieldset>
				</form>

			</td>
		</tr>
		<tr>
			<td><%@include file='footer.jsp'%></td></tr>
			
	</table>


</body>
</html>